﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DSLisp.Runtime;
using DSLisp.Infrastructure;

namespace DSLisp.AST
{
    public class RootNode : ConsNode
    {        
        public override object Eval(StackFrame stackFrame)
        {
            object res = null;
            foreach (object arg in Args)
            {
                res = Utils.Eval(stackFrame, arg);
            }
            return res;
        }

        public override object Clone(CloneInfo info)
        {
            return null;
        }
    }
}
